Package eu.europa.ec.taxud.cesop.readers
Class ReportedTransactionXmlReader
- java.lang.Object
-
- eu.europa.ec.taxud.cesop.readers.ReportedTransactionXmlReader
-
public class ReportedTransactionXmlReader extends Object
Utils class reading a ReportedTransaction XML file.
-
-
Constructor Summary
Constructors Constructor Description ReportedTransactionXmlReader(CesopXmlReader cesopXmlReader, List<String> otherPaymentMethods, List<String> otherPspRoles)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlReportedTransactionparse()Parses the next reported transaction.
-
-
-
Constructor Detail
-
ReportedTransactionXmlReader
public ReportedTransactionXmlReader(CesopXmlReader cesopXmlReader, List<String> otherPaymentMethods, List<String> otherPspRoles)
Constructor.- Parameters:
cesopXmlReader- the XML reader.otherPaymentMethods- the other payment methodsotherPspRoles- the other psp roles
-
-
Method Detail
-
parse
public XmlReportedTransaction parse() throws XMLStreamException
Parses the next reported transaction.- Returns:
- a ReportedTransaction
- Throws:
XMLStreamException- in case of error while processing the XML content
-
-